from compare_ui import CompareUI
import sys
from PyQt5.QtWidgets import QApplication
from compare_ui import CompareUI

if __name__ == '__main__':
    # 设置中文字体支持
    import matplotlib
    matplotlib.rcParams['font.sans-serif'] = ['SimHei']  # 用来正常显示中文标签
    matplotlib.rcParams['axes.unicode_minus'] = False  # 用来正常显示负号
    
    app = QApplication(sys.argv)
    window = CompareUI()
    window.show()
    sys.exit(app.exec_())